import Layout from '@/layout/Layout'

const accountRouter = {
  path: '/account',
  component: Layout,
  redirect: 'noredirect',
  name: '平台账户',
  meta: {
    title: '平台账户',
    icon: 'el-icon-money'
  },
  children: [
     {
        path: "platformAccountManagement",
        name: "PlatformAccountManagement",
        meta: { title: "平台资金",cache: true},
        component: () => import("@/views/account/PlatformAccountManagement")
      },
       {
        path: "platformBillManagement",
        name: "PlatformBillManagement",
        meta: { title: "平台流水",cache: true},
        component: () => import("@/views/account/PlatformBillManagement")
      },
      {
        path: "orderSplitManagement",
        name: "OrderSplitManagement",
        meta: { title: "分账流水",cache: true},
        component: () => import("@/views/account/OrderSplitManagement")
      },
      {
        path: "orderSplitAccountManagement",
        name: "OrderSplitAccountManagement",
        meta: { title: "补贴订单",cache: true},
        component: () => import("@/views/account/OrderSplitAccountManagement")
      },
      {
        path: "ymAccountManagement",
        name: "YmAccountManagement",
        meta: { title: "翼码账户",cache: true},
        component: () => import("@/views/account/YmAccountManagement")
      },
      {
        path: "ymAccountCheckManagement",
        name: "YmAccountCheckManagement",
        meta: { title: "翼码账户审核",cache: true},
        component: () => import("@/views/account/YmAccountCheckManagement")
      },
      {
        path: "ymMerchantManagement",
        name: "YmMerchantManagement",
        meta: { title: "翼码商户号",cache: true},
        component: () => import("@/views/account/YmMerchantManagement")
      },
      {
        path: "mchInfoManagement",
        name: "MchInfoManagement",
        meta: { title: "微信商户号",cache: true},
        component: () => import("@/views/account/MchInfoManagement")
      },
  ]
}

export default accountRouter
